package modulo;


import interfaces.IControlador;
import interfaces.IVista;
import java.text.DateFormat;
import javax.swing.JButton;


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Overpower
 */
public class DatosPersonalesVista extends javax.swing.JPanel implements IVista{

    IControlador _controlador;
    private DateFormat _dateFormat = DateFormat.getDateInstance();            
    
    public DatosPersonalesVista() {
        
        initComponents();
    }
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        _panelInfo = new javax.swing.JPanel();
        _panelFoto = new javax.swing.JPanel();
        _botonVerFoto = new javax.swing.JButton();
        _botonInsertarFoto = new javax.swing.JButton();
        _botonRemoverFoto = new javax.swing.JButton();
        _panelDatosPersonales = new javax.swing.JPanel();
        _lblApellido = new javax.swing.JLabel();
        _tfApellido = new javax.swing.JTextField();
        _lblDocumento = new javax.swing.JLabel();
        _tfDocumento = new javax.swing.JTextField();
        _lblFechNac = new javax.swing.JLabel();
        _lblLegajo = new javax.swing.JLabel();
        _tfLegajo = new javax.swing.JTextField();
        _tfDomicilio = new javax.swing.JTextField();
        _lblDomicilio = new javax.swing.JLabel();
        _tfFecha = new javax.swing.JTextField();
        _tfCiudad = new javax.swing.JTextField();
        _lblCiudad = new javax.swing.JLabel();
        _lblNombre = new javax.swing.JLabel();
        _tfProvincia = new javax.swing.JTextField();
        _tfNombre = new javax.swing.JTextField();
        _lblProvincia = new javax.swing.JLabel();
        _btnGuardar = new javax.swing.JButton();
        _btnEditar = new javax.swing.JButton();
        _lblTelefono = new javax.swing.JLabel();
        _tfTelefono = new javax.swing.JTextField();
        _lblEmail = new javax.swing.JLabel();
        _tfEmail = new javax.swing.JTextField();
        _lblNacionalidad = new javax.swing.JLabel();
        _tfNacionalidad = new javax.swing.JTextField();
        _lblGenero = new javax.swing.JLabel();
        _tfGenero = new javax.swing.JComboBox();
        _panelDetalle = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();

        setMinimumSize(new java.awt.Dimension(445, 600));
        setPreferredSize(new java.awt.Dimension(445, 600));

        _panelInfo.setMinimumSize(new java.awt.Dimension(370, 370));
        _panelInfo.setName(""); // NOI18N

        _panelFoto.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        _panelFoto.setMaximumSize(new java.awt.Dimension(160, 160));
        _panelFoto.setMinimumSize(new java.awt.Dimension(160, 160));
        _panelFoto.setPreferredSize(new java.awt.Dimension(160, 160));

        javax.swing.GroupLayout _panelFotoLayout = new javax.swing.GroupLayout(_panelFoto);
        _panelFoto.setLayout(_panelFotoLayout);
        _panelFotoLayout.setHorizontalGroup(
            _panelFotoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 158, Short.MAX_VALUE)
        );
        _panelFotoLayout.setVerticalGroup(
            _panelFotoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 158, Short.MAX_VALUE)
        );

        _botonVerFoto.setText("v");
        _botonVerFoto.setMargin(new java.awt.Insets(0, 0, 0, 0));
        _botonVerFoto.setMaximumSize(new java.awt.Dimension(24, 24));
        _botonVerFoto.setMinimumSize(new java.awt.Dimension(24, 24));
        _botonVerFoto.setPreferredSize(new java.awt.Dimension(24, 24));

        _botonInsertarFoto.setText("+");
        _botonInsertarFoto.setMargin(new java.awt.Insets(0, 0, 0, 0));
        _botonInsertarFoto.setMaximumSize(new java.awt.Dimension(24, 24));
        _botonInsertarFoto.setMinimumSize(new java.awt.Dimension(24, 24));
        _botonInsertarFoto.setPreferredSize(new java.awt.Dimension(24, 24));

        _botonRemoverFoto.setText("-");
        _botonRemoverFoto.setMargin(new java.awt.Insets(0, 0, 0, 0));
        _botonRemoverFoto.setMaximumSize(new java.awt.Dimension(24, 24));
        _botonRemoverFoto.setMinimumSize(new java.awt.Dimension(24, 24));
        _botonRemoverFoto.setPreferredSize(new java.awt.Dimension(24, 24));

        _panelDatosPersonales.setBorder(javax.swing.BorderFactory.createTitledBorder("Datos Personales"));

        _lblApellido.setText("Apellido");

        _tfApellido.setFocusable(false);

        _lblDocumento.setText("Documento");

        _tfDocumento.setFocusable(false);

        _lblFechNac.setText("Fecha de Nacimiento");

        _lblLegajo.setText("Legajo");

        _tfLegajo.setFocusable(false);

        _tfDomicilio.setFocusable(false);

        _lblDomicilio.setText("Domicilio");

        _tfFecha.setFocusable(false);

        _tfCiudad.setFocusable(false);

        _lblCiudad.setText("Ciudad");

        _lblNombre.setText("Nombre");

        _tfProvincia.setFocusable(false);

        _tfNombre.setFocusable(false);

        _lblProvincia.setText("Provincia");

        _btnGuardar.setText("Guardar");
        _btnGuardar.setEnabled(false);

        _btnEditar.setText("Editar");
        _btnEditar.setEnabled(false);

        _lblTelefono.setText("Telefono");

        _tfTelefono.setFocusable(false);

        _lblEmail.setText("email");

        _tfEmail.setFocusable(false);

        _lblNacionalidad.setText("Nacionalidad");

        _tfNacionalidad.setFocusable(false);

        _lblGenero.setText("Genero");

        _tfGenero.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Femenino" }));

        javax.swing.GroupLayout _panelDatosPersonalesLayout = new javax.swing.GroupLayout(_panelDatosPersonales);
        _panelDatosPersonales.setLayout(_panelDatosPersonalesLayout);
        _panelDatosPersonalesLayout.setHorizontalGroup(
            _panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(_panelDatosPersonalesLayout.createSequentialGroup()
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(_panelDatosPersonalesLayout.createSequentialGroup()
                            .addComponent(_btnEditar)
                            .addGap(18, 18, 18)
                            .addComponent(_btnGuardar))
                        .addGroup(_panelDatosPersonalesLayout.createSequentialGroup()
                            .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(_lblEmail)
                                .addComponent(_lblNacionalidad)
                                .addComponent(_lblTelefono)
                                .addComponent(_lblGenero))
                            .addGap(106, 106, 106)
                            .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(_tfTelefono)
                                .addComponent(_tfEmail)
                                .addComponent(_tfGenero, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(_tfNacionalidad, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(_panelDatosPersonalesLayout.createSequentialGroup()
                        .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(_lblApellido)
                            .addComponent(_lblDocumento)
                            .addComponent(_lblDomicilio)
                            .addComponent(_lblNombre)
                            .addComponent(_lblFechNac)
                            .addComponent(_lblLegajo)
                            .addComponent(_lblCiudad)
                            .addComponent(_lblProvincia))
                        .addGap(67, 67, 67)
                        .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(_tfDocumento, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(_tfDomicilio, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(_tfLegajo, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(_tfFecha, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(_tfProvincia, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(_tfCiudad, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(_tfNombre, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(_tfApellido, javax.swing.GroupLayout.PREFERRED_SIZE, 249, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addGap(0, 0, Short.MAX_VALUE))
        );
        _panelDatosPersonalesLayout.setVerticalGroup(
            _panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(_panelDatosPersonalesLayout.createSequentialGroup()
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblNombre)
                    .addComponent(_tfNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblApellido)
                    .addComponent(_tfApellido, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblDocumento)
                    .addComponent(_tfDocumento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(9, 9, 9)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblFechNac)
                    .addComponent(_tfFecha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblLegajo)
                    .addComponent(_tfLegajo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblDomicilio)
                    .addComponent(_tfDomicilio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblCiudad)
                    .addComponent(_tfCiudad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblProvincia)
                    .addComponent(_tfProvincia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblTelefono)
                    .addComponent(_tfTelefono, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblEmail)
                    .addComponent(_tfEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblGenero)
                    .addComponent(_tfGenero, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_lblNacionalidad)
                    .addComponent(_tfNacionalidad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(_panelDatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(_btnEditar)
                    .addComponent(_btnGuardar))
                .addGap(0, 0, Short.MAX_VALUE))
        );

        _panelDetalle.setBorder(javax.swing.BorderFactory.createTitledBorder("Detalle"));

        jLabel1.setText("Nombre");

        jLabel2.setText("Edad");

        jLabel3.setText("Recidencia");

        jLabel5.setText("Contacto");

        javax.swing.GroupLayout _panelDetalleLayout = new javax.swing.GroupLayout(_panelDetalle);
        _panelDetalle.setLayout(_panelDetalleLayout);
        _panelDetalleLayout.setHorizontalGroup(
            _panelDetalleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(_panelDetalleLayout.createSequentialGroup()
                .addGroup(_panelDetalleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3)
                    .addComponent(jLabel5))
                .addGap(0, 0, Short.MAX_VALUE))
        );
        _panelDetalleLayout.setVerticalGroup(
            _panelDetalleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(_panelDetalleLayout.createSequentialGroup()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel3)
                .addGap(26, 26, 26)
                .addComponent(jLabel5)
                .addGap(0, 0, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout _panelInfoLayout = new javax.swing.GroupLayout(_panelInfo);
        _panelInfo.setLayout(_panelInfoLayout);
        _panelInfoLayout.setHorizontalGroup(
            _panelInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(_panelInfoLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(_panelInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(_panelDatosPersonales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(_panelInfoLayout.createSequentialGroup()
                        .addGroup(_panelInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(_panelInfoLayout.createSequentialGroup()
                                .addComponent(_botonVerFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(_botonInsertarFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(_botonRemoverFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(_panelFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(_panelDetalle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
        );
        _panelInfoLayout.setVerticalGroup(
            _panelInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, _panelInfoLayout.createSequentialGroup()
                .addGroup(_panelInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(_panelInfoLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(_panelFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(_panelInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(_botonVerFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(_botonInsertarFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(_botonRemoverFoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(_panelDetalle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(_panelDatosPersonales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(_panelInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(8, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(_panelInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        getAccessibleContext().setAccessibleDescription("");
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton _botonInsertarFoto;
    private javax.swing.JButton _botonRemoverFoto;
    private javax.swing.JButton _botonVerFoto;
    private javax.swing.JButton _btnEditar;
    private javax.swing.JButton _btnGuardar;
    private javax.swing.JLabel _lblApellido;
    private javax.swing.JLabel _lblCiudad;
    private javax.swing.JLabel _lblDocumento;
    private javax.swing.JLabel _lblDomicilio;
    private javax.swing.JLabel _lblEmail;
    private javax.swing.JLabel _lblFechNac;
    private javax.swing.JLabel _lblGenero;
    private javax.swing.JLabel _lblLegajo;
    private javax.swing.JLabel _lblNacionalidad;
    private javax.swing.JLabel _lblNombre;
    private javax.swing.JLabel _lblProvincia;
    private javax.swing.JLabel _lblTelefono;
    private javax.swing.JPanel _panelDatosPersonales;
    private javax.swing.JPanel _panelDetalle;
    private javax.swing.JPanel _panelFoto;
    private javax.swing.JPanel _panelInfo;
    private javax.swing.JTextField _tfApellido;
    private javax.swing.JTextField _tfCiudad;
    private javax.swing.JTextField _tfDocumento;
    private javax.swing.JTextField _tfDomicilio;
    private javax.swing.JTextField _tfEmail;
    private javax.swing.JTextField _tfFecha;
    private javax.swing.JComboBox _tfGenero;
    private javax.swing.JTextField _tfLegajo;
    private javax.swing.JTextField _tfNacionalidad;
    private javax.swing.JTextField _tfNombre;
    private javax.swing.JTextField _tfProvincia;
    private javax.swing.JTextField _tfTelefono;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel5;
    // End of variables declaration//GEN-END:variables

    public JButton getBtnEditar() {
        return _btnEditar;
    }

    public JButton getBtnGuardar() {
        return _btnGuardar;
    }

    public String getFechaNacimiento() {
        //return this._dateFormat.format( this._tfFecha.getDate() );
        return this._tfFecha.getText();
    }

    public void setFechaNacimiento( String _fmtFFechNac ){// throws ParseException{
        //this._tfFecha.setDate( this._dateFormat.parse(_fmtFFechNac) );
        this._tfFecha.setText(_fmtFFechNac);
    }

    public String getApellido() {
        return _tfApellido.getText();
    }

    public void setApellido(String _tfApellido) {
        this._tfApellido.setText(_tfApellido);
    }

    public String getDocumento() {
        return _tfDocumento.getText();
    }

    public void setDocumento(String _tfDocumento) {
        this._tfDocumento.setText(_tfDocumento);
    }

    public String getDomicilio() {
        return _tfDomicilio.getText();
    }

    public void setDomicilio( String _tfDomicilio) {
        this._tfDomicilio.setText(_tfDomicilio);
    }
    
    public String getCiudad() {
        return _tfCiudad.getText();
    }

    public void setCiudad( String _tfCiudad) {
        this._tfCiudad.setText(_tfCiudad);
    }
    
    public String getProvincia() {
        return _tfProvincia.getText();
    }

    public void setProvincia( String _tfProvincia) {
        this._tfProvincia.setText(_tfProvincia);
    }

    public String getEmail() {
        return _tfEmail.getText();
    }

    public void setEmail(String _tfEmail) {
        this._tfEmail.setText(_tfEmail);
    }

    public String getLegajo() {
        return _tfLegajo.getText();
    }

    public void setLegajo(String _tfLegajo) {
        this._tfLegajo.setText(_tfLegajo);
    }

    public String getNacionalidad() {
        return _tfNacionalidad.getText();
    }

    public void setNacionalidad(String _tfNacionalidad) {
        this._tfNacionalidad.setText(_tfNacionalidad);
    }

    public String getNombre() {
        return _tfNombre.getText();
    }

    public void setNombre(String _tfNombre) {
        this._tfNombre.setText(_tfNombre);
    }

    public String getTelefono() {
        return _tfTelefono.getText();
    }

    public void setTelefono(String _tfTelefono) {
        this._tfTelefono.setText(_tfTelefono);
    }

    public String getGenero() {
        return (String)_tfGenero.getSelectedItem();
    }

    public void setGenero( String _tfGenero) {
        this._tfGenero.setSelectedItem( _tfGenero );
    }

    public javax.swing.JPanel GetPanelMarco()
    {
        return _panelDatosPersonales;
    }

    @Override
    public void setControlador(IControlador _controlador) {
        this._controlador = _controlador;
    }

    @Override
    public IControlador getControlador() {
        return _controlador;
    }

}
